// 导入axios
import request from "@/utils/axios.ts";

// 获取实时架次
export const getHistoryFlights  = () => {
  return request.get("/track/flights/active");
};

// 获取历史架次
export const  getFlights= () => {
  return request.get("/track/flights/inactive");
};

// 历史回放轨迹
export const getHistory = (params: any) => {
  return request.get("/track/history",  params );
};

// 实时轨迹
export const getActualTime= (params: any) => {
  return request.get("/track/actual-time",  params );
};